//
//  UIView+KDJFrame.h
//  BuDeJie
//
//  Created by Kavee DJ on 2016/11/1.
//  Copyright © 2016年 Kavee DJ. All rights reserved.
//

#import <UIKit/UIKit.h>

/*
 
 写分类:避免跟其他开发者产生冲突,加前缀
 
 */

@interface UIView (KDJFrame)

@property CGFloat kdj_width;
@property CGFloat kdj_height;
@property CGFloat kdj_x;
@property CGFloat kdj_y;
@property CGFloat kdj_centerX;
@property CGFloat kdj_centerY;

+ (instancetype)kdj_viewFromXib;

- (BOOL)kdj_intersectWithView:(UIView *)view;
- (UIViewController *)kdj_parentController;
+ (UIViewController *)kdj_currentViewController;

@end
